package cn.bugstack.test.Infrastructure;

import cn.bugstack.infrastructure.persistent.dao.IStrategyRuleDao;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
public class Infrastructure {
    @Resource
    private IStrategyRuleDao strategyRuleDao;
    @Test
    public void test_queryStrategyRuleList() {
        strategyRuleDao.queryStrategyRuleList().forEach(System.out::println);
    }
}
